package com.bw.greendao.dao;

import org.greenrobot.greendao.query.WhereCondition;

/**
 * @author KK
 * @description:
 * @date :2021/10/20 9:25
 * 声明增删改查抽象方法
 */
public interface DaoInterface<T> {

    //添加一条数据
    boolean insert(T t);

    //查询数据
    T select(WhereCondition condition);

}
